<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-2 col-sm-2 col-md-2">订单编号:</label>
        <div class="col-xs-10 col-sm-6 col-md-6">
                <input id="c-user" data-rule="required" class="form-control" size="50" name="user" type="text" disabled value="{$row.order_no}">
		</div>
    </div>
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">下单时间:</label>
	    <div class="col-xs-10 col-sm-6 col-md-6">
	            <input id="" data-rule="required" class="form-control" size="50" disabled  type="text" value="{$row.createtime}">
	    </div>
	</div>
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">服务项目:</label>
	    <div class="col-xs-10 col-sm-9 col-md-9">
	       <table id="table" class="table table-bordered text-center width100" width="100%">
	       	  <thead>
	       	    <tr>
	       	      <th>服务名称</th>
	       	      <th>单价</th>
	       	      <th>数量</th>
	       	      <th>小计</th>
	       	      <th>技师</th>
	       	    </tr> 
	       	  </thead>
	       	  <tbody>
			  {foreach name="row.service" item="vo"}
	       	    <tr>
	       	      <td>{$vo.service_name}</td>
	       	      <td>{$vo.price}</td>
	       	      <td>{$vo.num}</td>
	       	      <td>{$vo.total_money}</td>
	       	      <td>{if $vo.design}{$vo.design.nickname}{/if}</td>
	       	    </tr>
			  {/foreach}
	       	  </tbody>
	       </table>
		</div>
	</div>
	
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">客户名称:</label>
	    <div class="col-xs-10 col-sm-6 col-md-6">
	            <input id="" data-rule="required" class="form-control"  disabled  type="text" value="{$row.user.nickname}">
		</div>
	</div>
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">手机号码:</label>
	    <div class="col-xs-10 col-sm-6 col-md-6">
	            <input id="" data-rule="required" class="form-control"  disabled  type="text" value="{$row.user.phone}">
		</div>
	</div>
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">会员等级:</label>
	    <div class="col-xs-10 col-sm-6 col-md-6">
	            <input id="" data-rule="required" class="form-control" disabled  type="text" value="{$row.user.vip}">
	    </div>
	</div>
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">付款金额:</label>
	    <div class="col-xs-10 col-sm-6 col-md-6">
	            <input id="" data-rule="required" class="form-control" disabled  type="text" value="{$row.real_amount}">
	    </div>
	</div>
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">支付方式:</label>
	    <div class="col-xs-10 col-sm-6 col-md-6">
	            <input id="" data-rule="required" class="form-control" disabled  type="text"
				value="{if $row.payment == 1}现金支付{/if}
				{if $row.payment == 2}余额支付{/if}
				{if $row.payment == 3}微信支付{/if}
				">
	    </div>
	</div>
	<div class="form-group">
	    <label class="control-label col-xs-2 col-sm-2 col-md-2">支付状态:</label>
	    <div class="col-xs-10 col-sm-6 col-md-6">
	            <input id="" data-rule="required" class="form-control" disabled  type="text"
			    value="{if $row.status == 0}已取消{/if}
				{if $row.status == 1}待付款{/if}
				{if $row.status == 2}已付款{/if}
				">
	    </div>
	</div>

</form>
<style type="text/css">
	#add-form{
		margin-top: 20px;
	}
	.width100{
		width: 100%;
	}
</style>